// Lindsay Gilmour
// Adam Lusch
// Dan Niceswanger
//
// Computer Graphics Project 1:
// Asteroids!
// A Tribute

#ifndef BULLET_H
#define BULLET_H

#include <iostream>
#include <GL/glut.h>
using namespace std;

#include <Box2D.h>
#include "Thing.h"

class Bullet : public Thing
{
	public:
		static const int32 MAGIC_NUMBER = 3;
		
		Bullet(b2World*, float32, float32, float32, const b2Vec2&, int32 = MAGIC_NUMBER);
		virtual ~Bullet();
		
		void draw();
		
		int32 getTTL() const;
		
	protected:
		static const float32 halfWidth;
		int32 ttl;
};

#endif
